package com.bwie.service;

import com.bwie.pojo.TbMenu;
import com.bwie.pojo.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.R;
import com.bwie.utils.Result;
import com.bwie.vo.LoginVo;
import com.bwie.vo.PageInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author lenovo
* @description 针对表【tb_user】的数据库操作Service
* @createDate 2025-05-21 13:44:09
*/
public interface TbUserService extends IService<TbUser> {

    Result login(LoginVo loginVo);

    List getMenuList(Integer userId);

    Result getUserList(PageInfoVo pageInfoVo);

    Result updateByUserId(TbUser tbUser);

    Result uploadImage(MultipartFile file);

    Result deleteUser(Integer userId);

    Result deleteUserAll(List<TbUser> tbUserList);

    Result checkUser(TbUser tbUser);
}
